import req1 from '@/lib/req1'
// 招聘需求渲染
export function needAPI(){
  // return req1.get('/need/needs')
  return req1.get('/recruit/recruitList')
}
//新增绩效考核
export function newaddedAPI({id,shu,cartType,education,age,ask,job,side,nee}){
return req1.post('/recruit/recruitAdd',{id,shu,cartType,education,age,ask,job,side,nee})
}
// 修改
export function xiuListAPI({id,shu,cartType,education,age,ask,job,side,nee}){
  return req1.put('/recruit/recruitUpdate',{id,shu,cartType,education,age,ask,job,side,nee})
}
//删除考核
export function DeleteAPI(id){
  return req1.delete('/recruit/recruitDelete',{id})
}
// 页面搜索查询
export function userListApi(cartType){
  return req1.get('/recruit/recruitLike',{ cartType})
}
// 查询面试官
export function  chaListApi(){
  return req1.get('/recruit/interviewRole')
}

